package com.java.test.JVM;

import java.util.ArrayList;
import java.util.List;

public class OOM {
    public static List<Integer> myCachedObjects = new ArrayList<>();

    public static void main(String[] args) {
        for (int i = 0; i < 100_000_000; i++) {
            myCachedObjects.add(i);
        }
    }
}
